package com.yst.gateway.monitor.services;

import java.util.List;

import com.yst.gateway.monitor.common.base.BaseService;
import com.yst.gateway.monitor.models.QzDictionary;

/**
 * 前置系统数据字典管理业务类  
 * 
 * @author Administrator
 *
 */
public interface QzDictionaryService extends BaseService<QzDictionary>{
	
	
	public List<QzDictionary> getByCode (String code);
	
	
	public List<QzDictionary> getByPid (String id);
	
	public boolean insertByPid (QzDictionary dictionary);

	/**
	 * 获取接口关联的properties属性
	 * @param id 接口id
	 * @return 属性列表
	 */
	public List<QzDictionary> getByInterId(String id);
	
	
	public boolean updateStatusByPid(String id);
	
	
	public boolean lockById(String id);
	
	public List<QzDictionary> selectByName(String name);
	
	public List<QzDictionary> selectByCode(String code);
	
	public List<QzDictionary> selectByCodeAndPid(String code,String pid);
	
	

}
